package com.ygou.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Orders {
    private Integer orderid;

    private String orderno;

    private Integer userid;

    private Integer goodcount;

    private BigDecimal totalprice;

    private BigDecimal realprice;

    private Byte ispay;

    private Byte isrefund;

    private Byte issend;

    private Date paytime;

    private Byte istakeover;

    private Date deliervytime;

    private Date receivetime;

    private Byte orderstatus;

    private String consname;

    private String consphone;

    private String consaddress;

    private Integer conscode;

    private Date createtime;

    private Date lasttime;
    
    private List<Ordergoods> ogs;
    
    public List<Ordergoods> getOgs() {
		return ogs;
	}

	public void setOgs(List<Ordergoods> ogs) {
		this.ogs = ogs;
	}

	public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno == null ? null : orderno.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getGoodcount() {
        return goodcount;
    }

    public void setGoodcount(Integer goodcount) {
        this.goodcount = goodcount;
    }

    public BigDecimal getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(BigDecimal totalprice) {
        this.totalprice = totalprice;
    }

    public BigDecimal getRealprice() {
        return realprice;
    }

    public void setRealprice(BigDecimal realprice) {
        this.realprice = realprice;
    }

    public Byte getIspay() {
        return ispay;
    }

    public void setIspay(Byte ispay) {
        this.ispay = ispay;
    }

    public Byte getIsrefund() {
        return isrefund;
    }

    public void setIsrefund(Byte isrefund) {
        this.isrefund = isrefund;
    }

    public Byte getIssend() {
        return issend;
    }

    public void setIssend(Byte issend) {
        this.issend = issend;
    }

    public Date getPaytime() {
        return paytime;
    }

    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }

    public Byte getIstakeover() {
        return istakeover;
    }

    public void setIstakeover(Byte istakeover) {
        this.istakeover = istakeover;
    }

    public Date getDeliervytime() {
        return deliervytime;
    }

    public void setDeliervytime(Date deliervytime) {
        this.deliervytime = deliervytime;
    }

    public Date getReceivetime() {
        return receivetime;
    }

    public void setReceivetime(Date receivetime) {
        this.receivetime = receivetime;
    }

    public Byte getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(Byte orderstatus) {
        this.orderstatus = orderstatus;
    }

    public String getConsname() {
        return consname;
    }

    public void setConsname(String consname) {
        this.consname = consname == null ? null : consname.trim();
    }

    public String getConsphone() {
        return consphone;
    }

    public void setConsphone(String consphone) {
        this.consphone = consphone == null ? null : consphone.trim();
    }

    public String getConsaddress() {
        return consaddress;
    }

    public void setConsaddress(String consaddress) {
        this.consaddress = consaddress == null ? null : consaddress.trim();
    }

    public Integer getConscode() {
        return conscode;
    }

    public void setConscode(Integer conscode) {
        this.conscode = conscode;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getLasttime() {
        return lasttime;
    }

    public void setLasttime(Date lasttime) {
        this.lasttime = lasttime;
    }

	public Orders(Integer orderid, String orderno, Integer userid, Integer goodcount, BigDecimal totalprice,
			BigDecimal realprice, Byte ispay, Byte isrefund, Byte issend, Date paytime, Byte istakeover,
			Date deliervytime, Date receivetime, Byte orderstatus, String consname, String consphone,
			String consaddress, Integer conscode, Date createtime, Date lasttime) {
		super();
		this.orderid = orderid;
		this.orderno = orderno;
		this.userid = userid;
		this.goodcount = goodcount;
		this.totalprice = totalprice;
		this.realprice = realprice;
		this.ispay = ispay;
		this.isrefund = isrefund;
		this.issend = issend;
		this.paytime = paytime;
		this.istakeover = istakeover;
		this.deliervytime = deliervytime;
		this.receivetime = receivetime;
		this.orderstatus = orderstatus;
		this.consname = consname;
		this.consphone = consphone;
		this.consaddress = consaddress;
		this.conscode = conscode;
		this.createtime = createtime;
		this.lasttime = lasttime;
	}

	public Orders() {
		super();
	}
}